package com.guiwu.gteway.industryapp.Api;

/**
 * Created by 乔冠 on 2017/12/23. 定义自己的回调
 */

public interface GuiwuApiCallback {

    /**
     * Called when the HTTP response code was 2xx.
     */
    void onSuccess(String response);

    /**
     * Called when the request could not be executed due to cancellation, a connectivity problem,
     * timeout or the HTTP response code was not 2xx.
     */
    void onFailed(Exception e);


}
